package com.ayou.eggguard.user.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.user.pojo.User;

public interface UserService {
    //添加用户
    void addUser(String username, String password);

    User getUserById(String username);

    User getUserByUserName(String username);

    void updateUserInfo(User user);

    void updatePwd(String username,String newPwd);

    PageBean<User> getUserListByPage(Integer pageNum, Integer pageSize, String username);

    void userOpen(Integer id);
}
